import http from '@/utils/request'

export default {
  // Create PayPal order
  createPayPalOrder(orderId) {
    return http.post('/payment/paypal/create', { orderId })
  },

  // Verify PayPal payment
  verifyPayPal(data) {
    return http.post('/payment/paypal/verify', data)
  }
}
